package com.example.buildtable.pojo;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(autoResultMap = true)
public class MysqlBackups {
    @TableId(type = IdType.AUTO)
    private Integer backupsId;
    private String mysqlIp;
    private String mysqlPort;
    private String mysqlCmd;
    private String mysqlBackCmd;
    private String databaseName;
    private String backupsPath;
    private String backupsName;
    private Integer operation;
    private Integer status;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date recoveryTime;
}
